<!doctype html>
<html lang="zh-Hans">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css" >
    <link rel="stylesheet" href="assets/css/fontawesome.min.css" >
    <link rel="stylesheet" href="assets/css/backend.css" >
    <title>Fresns 管理中心</title>
  </head>
  <body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fresns-navbar">
      <a class="navbar-brand" href="#"><img src="assets/images/logo.png" height="30" alt="Fresns"></a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav mr-auto">
          <li class="nav-item"><a class="nav-link" href="index.html">仪表盘</a></li>
          <li class="nav-item active"><a class="nav-link" href="system-language.html">系统</a></li>
          <li class="nav-item"><a class="nav-link" href="operating-user.html">运营</a></li>
          <li class="nav-item"><a class="nav-link" href="themes.html">主题</a></li>
          <li class="nav-item"><a class="nav-link" href="plugins.html">插件</a></li>
          <li class="nav-item"><a class="nav-link" href="clients.html">客户端</a></li>
          <li class="nav-item"><a class="nav-link" href="store.html">应用市场</a></li>
        </ul>
        <span class="navbar-text">admin <a href="#">[退出]</a> <a href="https://fresns.cn" target="_blank">站点首页</a></span>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-xl-2 fresns-sidebar">
          <h3 class="d-none d-sm-block">系统</h3>
          <button class="btn btn-primary btn-block d-block d-sm-none" type="button" data-toggle="collapse" data-target="#sidebarNav" aria-controls="sidebarNav" aria-expanded="true">
            <i class="fas fa-list-ul"></i> 系统
          </button>
          <div class="collapse show" id="sidebarNav">
            <ul class="nav flex-column">
              <li class="nav-item"><a class="nav-link" href="system-language.html"><i class="fas fa-language"></i> 语言设置</a></li>
              <li class="nav-item"><a class="nav-link" href="system-site.html"><i class="fas fa-tools"></i> 站点设置</a></li>
              <li class="nav-item"><a class="nav-link" href="system-send.html"><i class="far fa-paper-plane"></i> 发信设置</a></li>
              <li class="nav-item"><a class="nav-link" href="system-account.html"><i class="far fa-user"></i> 账号设置</a></li>
              <li class="nav-item"><a class="nav-link active" href="system-wallet.html"><i class="far fa-credit-card"></i> 钱包设置</a></li>
              <li class="nav-item"><a class="nav-link" href="system-storage.html"><i class="far fa-folder-open"></i> 存储设置</a></li>
              <li class="nav-item"><a class="nav-link" href="system-map.html"><i class="fas fa-map-marked-alt"></i> 地图设置</a></li>
            </ul>
            <div class="fresns-copyright">
              <p>Powered by Fresns</p>
            </div>
          </div>
        </div>

        <div class="col-sm-9 col-xl-10 fresns-content">
          <h3>钱包设置</h3>
          <!-- Setting Start -->
          <form>
            <ul class="nav nav-tabs" id="myTab" role="tablist">
              <li class="nav-item"><a class="nav-link active" id="features-tab" data-toggle="tab" href="#features" role="tab" aria-controls="features" aria-selected="true">功能设置</a></li>
              <li class="nav-item"><a class="nav-link" id="pay-tab" data-toggle="tab" href="#pay" role="tab" aria-controls="pay" aria-selected="false">支付服务商</a></li>
              <li class="nav-item"><a class="nav-link" id="withdraw-tab" data-toggle="tab" href="#withdraw" role="tab" aria-controls="withdraw" aria-selected="false">提现支持渠道</a></li>
            </ul>
            <div class="tab-content" id="myTabContent">
              <div class="tab-pane fade show active pl-3" id="features" role="tabpanel" aria-labelledby="features-tab">
                <!-- Wallet Setting -->
            <label class="item-title mt-4">钱包功能：</label>
            <div class="form-group row">
              <div class="col-sm-6">
                <div class="custom-control custom-radio custom-control-inline">
                  <input type="radio" id="wallet_status_false" name="wallet_status" value="false" class="custom-control-input" data-toggle="collapse" data-target="#wechat_collapse.show" aria-expanded="false" aria-controls="collapse" checked>
                  <label class="custom-control-label" for="wallet_status_false">关闭</label>
                </div>
                <div class="custom-control custom-radio custom-control-inline">
                  <input type="radio" id="wallet_status_true" name="wallet_status" value="true" class="custom-control-input" data-toggle="collapse" data-target="#wechat_collapse:not(.show)" aria-expanded="false" aria-controls="collapse">
                  <label class="custom-control-label" for="wallet_status_true">启用</label>
                </div>
              </div>
              <label class="col-sm-6 col-form-label">是否启用钱包功能</label>
            </div>

            <div class="collapse" id="wechat_collapse">
  
              <!-- Wallet Cash Setting -->
              <label class="item-title">钱包货币代码：</label>
              <div class="form-group row">
                <div class="col-md-6 col-sm-8">
                  <select class="custom-select">
                    <option selected>请选择语言代码</option>
                    <option value="CNY">CNY (Yuan Renminbi) > CHINA</option>
                    <option value="USD">USD (US Dollar) > UNITED STATES OF AMERICA (THE)</option>
                  </select>
                </div>
                <label class="col-md-6 col-sm-4 col-form-label"><a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank">ISO 4217</a> 标准的货币代码，例如人民币是 CNY，美元是 USD</label>
              </div>
  
              <!-- Wallet Cash Setting -->
              <label class="item-title">提现功能：</label>
              <div class="form-group row">
                <div class="col-sm-6">
                  <div class="custom-control custom-radio custom-control-inline">
                    <input type="radio" id="wallet_cash_close_false" name="wallet_cash_close" value="false" class="custom-control-input" data-toggle="collapse" data-target="#wallet_cash.show" aria-expanded="false" aria-controls="collapse" checked>
                    <label class="custom-control-label" for="wallet_cash_close_false">关闭</label>
                  </div>
                  <div class="custom-control custom-radio custom-control-inline">
                    <input type="radio" id="wallet_cash_close_true" name="wallet_cash_close" value="true" class="custom-control-input" data-toggle="collapse" data-target="#wallet_cash:not(.show)" aria-expanded="false" aria-controls="collapse">
                    <label class="custom-control-label" for="wallet_cash_close_true">启用</label>
                  </div>
                </div>
                <label class="col-sm-6 col-form-label">钱包余额是否可以提现</label>
              </div>
  
              <div class="collapse" id="wallet_cash">
                <!-- Wallet Cash Setting -->
                <label class="item-title">提现是否审核：</label>
                <div class="form-group row">
                  <div class="col-sm-6">
                    <div class="custom-control custom-radio custom-control-inline">
                      <input type="radio" id="wallet_cash_review_false" name="wallet_cash_review" value="false" class="custom-control-input" checked>
                      <label class="custom-control-label" for="wallet_cash_review_false">不审核</label>
                    </div>
                    <div class="custom-control custom-radio custom-control-inline">
                      <input type="radio" id="wallet_cash_review_true" name="wallet_cash_review" value="true" class="custom-control-input">
                      <label class="custom-control-label" for="wallet_cash_review_true">需审核</label>
                    </div>
                  </div>
                  <label class="col-sm-6 col-form-label">用户申请提现，是否需要人工审核</label>
                </div>
  
                <!-- Wallet Cash Setting -->
                <label class="item-title">提现是否验证实名信息：</label>
                <div class="form-group row">
                  <div class="col-sm-6">
                    <div class="custom-control custom-radio custom-control-inline">
                      <input type="radio" id="wallet_cash_verify_false" name="wallet_cash_verify" value="false" class="custom-control-input" checked>
                      <label class="custom-control-label" for="wallet_cash_verify_false">不验证</label>
                    </div>
                    <div class="custom-control custom-radio custom-control-inline">
                      <input type="radio" id="wallet_cash_verify_true" name="wallet_cash_verify" value="true" class="custom-control-input">
                      <label class="custom-control-label" for="wallet_cash_verify_true">启用验证</label>
                    </div>
                  </div>
                  <label class="col-sm-6 col-form-label">启用后，提现将验证真实姓名和身份证号</label>
                </div>
    
                <!-- Wallet Cash Setting -->
                <label class="item-title">提现间隔时间：</label>
                <div class="form-group row">
                  <div class="col-md-6 col-sm-8">
                    <input type="number" class="form-control" id="wallet_cash_interval_time" value="1">
                  </div>
                  <label class="col-md-6 col-sm-4 col-form-label">单位: 分钟，0 或不填则不限制</label>
                </div>
    
                <!-- Wallet Cash Setting -->
                <label class="item-title">提现手续费率：</label>
                <div class="form-group row">
                  <div class="col-md-6 col-sm-8">
                    <input type="text" class="form-control" id="wallet_cash_rate" value="6">
                  </div>
                  <label class="col-md-6 col-sm-4 col-form-label">百分比，6 代表 6%</label>
                </div>
    
                <!-- Wallet Cash Setting -->
                <label class="item-title">单次提现最小金额：</label>
                <div class="form-group row">
                  <div class="col-md-6 col-sm-8">
                    <input type="number" class="form-control" id="wallet_cash_min_sum" value="100">
                  </div>
                  <label class="col-md-6 col-sm-4 col-form-label">单位: 元</label>
                </div>
    
                <!-- Wallet Cash Setting -->
                <label class="item-title">单次提现最大金额：</label>
                <div class="form-group row">
                  <div class="col-md-6 col-sm-8">
                    <input type="number" class="form-control" id="wallet_cash_max_sum" value="1000">
                  </div>
                  <label class="col-md-6 col-sm-4 col-form-label">单位: 元</label>
                </div>
    
                <!-- Wallet Cash Setting -->
                <label class="item-title">每日提现总金额上限：</label>
                <div class="form-group row">
                  <div class="col-md-6 col-sm-8">
                    <input type="number" class="form-control" id="wallet_cash_sum_limit" value="100000">
                  </div>
                  <label class="col-md-6 col-sm-4 col-form-label">单位: 元，所有用户单日提现的上限总金额</label>
                </div>
              </div>
  
            </div>

            <!-- Form Submit -->
            <button type="submit" class="btn btn-primary">保存</button>
              </div>
              <!--Divider-->
              <div class="tab-pane fade" id="pay" role="tabpanel" aria-labelledby="pay-tab">
                <div class="alert alert-secondary mt-3" role="alert">
                  该服务商配置将呈现在「钱包」功能列表中，用于支付订单或者充值钱包。
                </div>
                <div class="table-responsive">
                  <table class="table table-hover">
                    <thead class="thead-light">
                      <tr>
                        <th scope="col" style="width:10%;">显示顺序</th>
                        <th scope="col">关联插件</th>
                        <th scope="col">显示名称</th>
                        <th scope="col"><span data-toggle="tooltip" data-placement="top" title="留空代表所有用户角色均有权">有权使用的用户角色 <i class="fas fa-question-circle"></i></span></th>
                        <th scope="col">自定义参数</th>
                        <th scope="col">启用状态</th>
                        <th scope="col">操作</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td class="align-middle"><input type="number" class="form-control" value="1"></td>
                        <td class="align-middle">支付宝支付和提现插件</td>
                        <td class="align-middle"><img src="assets/images/placeholder_icon.png" class="mr-1" width="24" height="24">支付宝</td>
                        <td class="align-middle"></td>
                        <td class="align-middle"></td>
                        <td class="align-middle">
                          <div class="custom-control custom-switch">
                            <input type="checkbox" class="custom-control-input" id="expand-3">
                            <label class="custom-control-label" for="expand-3">是否启用</label>
                          </div>
                        </td>
                        <td class="align-middle">
                          <button type="button" class="btn btn-primary btn-sm"  data-toggle="modal" data-target="#expand-edit">设置</button>
                          <button type="button" class="btn btn-link btn-sm text-danger">删除</button>
                        </td>
                      </tr>
                      <tr>
                        <td class="align-middle"><input type="number" class="form-control" value="2"></td>
                        <td class="align-middle">微信支付插件</td>
                        <td class="align-middle"><img src="assets/images/placeholder_icon.png" class="mr-1" width="24" height="24">微信支付</td>
                        <td class="align-middle">管理员</td>
                        <td class="align-middle"></td>
                        <td class="align-middle">
                          <div class="custom-control custom-switch">
                            <input type="checkbox" class="custom-control-input" id="expand-4">
                            <label class="custom-control-label" for="expand-4">是否启用</label>
                          </div>
                        </td>
                        <td class="align-middle">
                          <button type="button" class="btn btn-primary btn-sm"  data-toggle="modal" data-target="#expand-edit">设置</button>
                          <button type="button" class="btn btn-link btn-sm text-danger">删除</button>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="7" class="align-middle"><button type="button" class="btn btn-sm btn-link text-secondary"><i class="fas fa-plus-circle"></i> 新增</button></td>
                      </tr>
                    </tbody>
                  </table>
                </div>
                <!-- Form Submit -->
                <button type="submit" class="btn btn-success ml-3">更新顺序</button>
              </div>
              <!--Divider-->
              <div class="tab-pane fade" id="withdraw" role="tabpanel" aria-labelledby="withdraw-tab">
                <div class="alert alert-secondary mt-3" role="alert">
                  该服务商配置将呈现在「钱包」功能列表中，用于钱包余额提现到指定账户中。
                </div>
                <div class="table-responsive">
                  <table class="table table-hover">
                    <thead class="thead-light">
                      <tr>
                        <th scope="col" style="width:10%;">显示顺序</th>
                        <th scope="col">关联插件</th>
                        <th scope="col">显示名称</th>
                        <th scope="col"><span data-toggle="tooltip" data-placement="top" title="留空代表所有用户角色均有权">有权使用的用户角色 <i class="fas fa-question-circle"></i></span></th>
                        <th scope="col">自定义参数</th>
                        <th scope="col">启用状态</th>
                        <th scope="col">操作</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td class="align-middle"><input type="number" class="form-control" value="1"></td>
                        <td class="align-middle">支付宝支付和提现插件</td>
                        <td class="align-middle"><img src="assets/images/placeholder_icon.png" class="mr-1" width="24" height="24">支付宝</td>
                        <td class="align-middle"></td>
                        <td class="align-middle"></td>
                        <td class="align-middle">
                          <div class="custom-control custom-switch">
                            <input type="checkbox" class="custom-control-input" id="expand-3">
                            <label class="custom-control-label" for="expand-3">是否启用</label>
                          </div>
                        </td>
                        <td class="align-middle">
                          <button type="button" class="btn btn-primary btn-sm"  data-toggle="modal" data-target="#expand-edit">设置</button>
                          <button type="button" class="btn btn-link btn-sm text-danger">删除</button>
                        </td>
                      </tr>
                      <tr>
                        <td class="align-middle"><input type="number" class="form-control" value="2"></td>
                        <td class="align-middle">微信支付插件</td>
                        <td class="align-middle"><img src="assets/images/placeholder_icon.png" class="mr-1" width="24" height="24">微信</td>
                        <td class="align-middle">管理员</td>
                        <td class="align-middle"></td>
                        <td class="align-middle">
                          <div class="custom-control custom-switch">
                            <input type="checkbox" class="custom-control-input" id="expand-4">
                            <label class="custom-control-label" for="expand-4">是否启用</label>
                          </div>
                        </td>
                        <td class="align-middle">
                          <button type="button" class="btn btn-primary btn-sm"  data-toggle="modal" data-target="#expand-edit">设置</button>
                          <button type="button" class="btn btn-link btn-sm text-danger">删除</button>
                        </td>
                      </tr>
                      <tr>
                        <td class="align-middle"><input type="number" class="form-control" value="2"></td>
                        <td class="align-middle">微信支付插件</td>
                        <td class="align-middle"><img src="assets/images/placeholder_icon.png" class="mr-1" width="24" height="24">银行卡</td>
                        <td class="align-middle">管理员</td>
                        <td class="align-middle"></td>
                        <td class="align-middle">
                          <div class="custom-control custom-switch">
                            <input type="checkbox" class="custom-control-input" id="expand-4">
                            <label class="custom-control-label" for="expand-4">是否启用</label>
                          </div>
                        </td>
                        <td class="align-middle">
                          <button type="button" class="btn btn-primary btn-sm"  data-toggle="modal" data-target="#expand-edit">设置</button>
                          <button type="button" class="btn btn-link btn-sm text-danger">删除</button>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="7" class="align-middle"><button type="button" class="btn btn-sm btn-link text-secondary"><i class="fas fa-plus-circle"></i> 新增</button></td>
                      </tr>
                    </tbody>
                  </table>
                </div>
                <!-- Form Submit -->
                <button type="submit" class="btn btn-success ml-3">更新顺序</button>
              </div>
            </div>
          </form>
          <!-- Setting End -->
        </div>
      </div>
    </div>

    <!-- JavaScript -->
    <script src="assets/js/jquery-3.5.1.slim.min.js"></script>
    <script src="assets/js/bootstrap.bundle.min.js"></script>
    <script src="assets/js/backend.js"></script>
  </body>
</html>